package com.chaoxuan.uebt.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.chaoxuan.uebt.R;
import com.chaoxuan.uebt.model.UserIncomeList;

/**
 * Created by Administrator on 2019/5/24.
 */
public class MemberAdapter extends BaseQuickAdapter<UserIncomeList,BaseViewHolder>{

    public MemberAdapter() {
        super(R.layout.activity_member_item);
    }

    @Override
    protected void convert(BaseViewHolder helper, UserIncomeList item) {
        helper.setText(R.id.tv_number, item.getNumber());
        helper.setText(R.id.tv_account, item.getUser_login());
        helper.setText(R.id.tv_level,  item.getU_tag());
        helper.setText(R.id.tv_dig, item.getYesterday_dig());

    }
}
